edc4751f440df6af6f6f68e5356b28a59584b3e4,src/test/java/com/github/bingoohuang/springrestclient/spring/demo/PayPartyApiDemo.java,PayPartyApiDemo,transfer,#Account#boolean#,46

Before Change


        LinkedHashMap requestParams = new LinkedHashMap();
        requestParams.put("sendConfirmationSms", sendConfirmationSms);

        String json = UniRests.postAsJson(PayPartyApi.class,
                baseUrlProvider, "url", pathVariables, requestParams, fromAccount);

        return JSON.parseObject(json, Account.class);
    }

After Change



        String json = null;
        try {
            json = UniRests.postAsJson(null, PayPartyApi.class,
                    baseUrlProvider, "url", pathVariables, requestParams, fromAccount);
        } catch (Throwable throwable) {
            throwable.printStackTrace();
        }